In the KMotionCNC ToolSetup specify a different "Thread" for your M3,M4,M5 programs than for the Init program.
Multiple programs can run simultaneously in KFLOP/KMotion as long as they use different Threads. In your case we want the Init program to initialize the system, but then continue to run forever servicing the MPG. If another program is commanded to execute in the same Thread, then whatever program may be running in the Thread will be stopped, It's program will be overwritten with with the new program, and the new program will begin execution.
I hope this helps
TK
Group: DynoMotion |
Message: 165 |
From: s.astrom |
Date: 2/25/2010 |
Subject: Re: Init problems |
Yes that will help me. I have a one in the thred for all my programs, didnt know what the thred thing was.
Thanx
--- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@...> wrote:
>
> In the KMotionCNC ToolSetup specify a different "Thread" for your M3,M4,M5 programs than for the Init program.Â
>
> Multiple programs can run simultaneously in KFLOP/KMotion as long as they use different Threads. In your case we want the Init program to initialize the system, but then continue to run forever servicing the MPG. If another program is commanded to execute in the same Thread, then whatever program may be running in the Thread will be stopped, It's program will be overwritten with with the new program, and the new program will begin execution.Â
>
> I hope this helps
> TK
>
>
>
>
> ________________________________
> From: s.astrom <stefan.astrom@...>
> To: DynoMotion@yahoogroups.com
> Sent: Thu, February 25, 2010 2:24:20 AM
> Subject: [DynoMotion] Init problems
>
> Â
> I'm using a mpg and the intit3analogplusmpg .ini file to start. This works great, but when i use M3, M4 or M5 command i have to hit the init putton again to get the mpg to work, Is there a way to get the M3, M4 and M5 c program to execute the init3analogplusmpg file, or just the mpg part of that file?
>
|
|
| |